package com.thinvent.nj.ais.service.impl;

import com.thinvent.nj.mybatis.service.impl.BaseCURDServiceImpl;
import com.thinvent.nj.ais.entity.Gcd;
import com.thinvent.nj.ais.mapper.GcdMapper;
import com.thinvent.nj.ais.service.GcdService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
* @author administrator
* @date 2018-7-13
*/
@Service
public class GcdServiceImpl extends BaseCURDServiceImpl<Gcd, String> implements GcdService {

@Autowired
private GcdMapper GcdMapper;


    @Override
    public String insertReturnId(Gcd gcd) {
        GcdMapper.insert(gcd);
        return gcd.getId();
    }
}
